package org.jeecg.modules.demo.dz.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import org.jeecg.common.constant.ProvinceCityArea;
import org.jeecg.common.util.SpringContextUtils;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: 属性管理
 * @Author: jeecg-boot
 * @Date:   2024-11-27
 * @Version: V1.0
 */
@Data
@TableName("dz_material_spec")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="dz_material_spec对象", description="属性管理")
public class DzMaterialSpec implements Serializable {
    private static final long serialVersionUID = 1L;

	/**id*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "id")
    private String id;
	/**所属物料分类ID*/
	@Excel(name = "所属物料分类ID", width = 15)
    @ApiModelProperty(value = "所属物料分类ID")
    private Integer cateId;
	/**属性名*/
	@Excel(name = "属性名", width = 15)
    @ApiModelProperty(value = "属性名")
    private String name;
	/**英文名称*/
	@Excel(name = "英文名称", width = 15)
    @ApiModelProperty(value = "英文名称")
    private String nameEn;
	/**字段类型（1-产品属性字段(spu)；2-产品型号属性字段(sku)；3-附件；）*/
	@Excel(name = "字段类型（1-产品属性字段(spu)；2-产品型号属性字段(sku)；3-附件；）", width = 15)
    @ApiModelProperty(value = "字段类型（1-产品属性字段(spu)；2-产品型号属性字段(sku)；3-附件；）")
    private Integer specType;
	/**供端填写方式  1单选；2复选；3输入框；4图片上传；5附件上传*/
	@Excel(name = "供端填写方式  1单选；2复选；3输入框；4图片上传；5附件上传", width = 15)
    @ApiModelProperty(value = "供端填写方式  1单选；2复选；3输入框；4图片上传；5附件上传")
    private Integer inputType;
	/**排序号*/
	@Excel(name = "排序号", width = 15)
    @ApiModelProperty(value = "排序号")
    private Integer orderNo;
	/**是否支持自定义参数 0-否；1是；*/
	@Excel(name = "是否支持自定义参数 0-否；1是；", width = 15)
    @ApiModelProperty(value = "是否支持自定义参数 0-否；1是；")
    private Integer customFlag;
	/**平台端是否展示*/
	@Excel(name = "平台端是否展示", width = 15)
    @ApiModelProperty(value = "平台端是否展示")
    private Integer platformShowFlag;
	/**平台端是够作为筛选项*/
	@Excel(name = "平台端是够作为筛选项", width = 15)
    @ApiModelProperty(value = "平台端是够作为筛选项")
    private Integer platformSelectFlag;
	/**平台端详情页是否展示*/
	@Excel(name = "平台端详情页是否展示", width = 15)
    @ApiModelProperty(value = "平台端详情页是否展示")
    private Integer platformDetailFlag;
	/**启用状态（0启用,1禁用）*/
	@Excel(name = "启用状态（0启用,1禁用）", width = 15)
    @ApiModelProperty(value = "启用状态（0启用,1禁用）")
    private Integer disableFlag;
	/**备注*/
	@Excel(name = "备注", width = 15)
    @ApiModelProperty(value = "备注")
    private String remark;
	/**是否被删除 0-否；1-是；*/
	@Excel(name = "是否被删除 0-否；1-是；", width = 15)
    @ApiModelProperty(value = "是否被删除 0-否；1-是；")
    private Integer isDeleted;
	/**创建人ID*/
	@Excel(name = "创建人ID", width = 15)
    @ApiModelProperty(value = "创建人ID")
    private Integer createId;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**修改时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "修改时间")
    private Date updateTime;
}
